// ActionScript file
  // a "neighbor" container that this chip_num is also linked into.
  // for example, chip 138 might be called green 4 times, yellow twice, and blue once.
  // in this case, in the green container its ColorEntry will be 138/4, but it will
  // have two neighbors, yellow and blue, and corresponding indices
  
package
{

  public class Neighbor{
    private var _color:String;
    private var _index:int;
    
    public function Neighbor(color:String, index:int)
    {
      this._color = color;
      this._index = index;
    }
    
    public function getColor():String
    {
      return this._color;
    }
    
    public function getIndex():int
    {
      return this._index;
    }
  }
}